// 转换状态类型
export type ConversionStatus = 'idle' | 'validating' | 'converting' | 'success' | 'error'

// 验证错误类型
export interface ValidationError {
  type: 'json' | 'syntax' | 'structure' | 'validation'
  message: string
  line?: number
  column?: number
}

// 转换错误类型
export interface ConversionError {
  type: 'validation' | 'conversion' | 'parsing'
  message: string
  details?: any
}

// 编辑器配置类型
export interface EditorConfig {
  language: string
  theme: string
  fontSize: number
  wordWrap: boolean
  minimap: boolean
  lineNumbers: boolean
  readOnly: boolean
}

// MCP配置示例类型
export interface McpExample {
  name: string
  description: string
  json: string
  category: string
}
